<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
    <link rel="stylesheet" href="../plugins/elementui/index.css">

    <!-- import Vue before Element -->
    <!--<script src="https://unpkg.com/vue/dist/vue.js"></script>-->
    <script src="../js/vue.js"></script>
    <!-- import JavaScript -->
    <!--<script src="https://unpkg.com/element-ui/lib/index.js"></script>-->
    <script src="../plugins/elementui/index.js"></script>
</head>
<body>

    <div id="app">
        <div class="block">
            <span class="demonstration">完整功能</span>
            <el-pagination
                    @size-change="handleSizeChange"
                    @current-change="handleCurrentChange"
                    :current-page="currentPage4"
                    :page-sizes="[100, 200, 300, 400]"
                    :page-size="100"
                    layout="total, sizes, prev, pager, next, jumper"
                    :total="400">
            </el-pagination>
        </div>

    </div>
    <script>

        new Vue({
            el:"#app",

            methods:{
                handleSizeChange(size){
                    alert(size +'每页条数改了')


                },
                handleCurrentChange(page){
                    alert(page +'页码条数改了');

                }


            }


        })

    </script>
</body>
</html>